package com.rubiksillusions;

public class Move {
	public static final int RIGHT = 0;
	public static final int LEFT = 1;
	public static final int UP = 2;
	public static final int DOWN = 3;
	public static final int FRONT = 4;
	public static final int BACK = 5;
	
	public static final int CLOCKWISE = 6;
	public static final int ANTICLOCKWISE = 7;
	public static final int DOUBLE = 8;
	
	private int move = -1;
	private int rotation = -1;
	
	public Move(String moveString) {
		moveString = moveString.trim();
		if (moveString.length() == 1) {
			
		} else if (moveString.length() == 2) {
			
		}
	}
	
	public Move(int move, int rotation) {
		this.move = move;
		this.rotation = rotation;
	}
	
	public int getMove() {
		return move;
	}
	
	public int getRotation() {
		return rotation;
	}
	
	public String getRappresentation() {
		return getRappresentation(Notation.SINGMASTER);
	}
	
	public String getRappresentation(int notation) {
		return Notation.getRappresentationFromMove(this, notation);
	}
}
